@import "chrysan";

.loading{
  position: relative;
  &:after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255,255,255,.5);
    user-select: none;
  }
  &:before{
    animation: rotate 3s linear infinite;
    z-index: 1;
    background-image: url(sass-svg-base64(getChrysan($color1-1)));
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    margin-bottom: -25px;
    top: 50%;
    left: 50%;
  }
}